package design.onekey.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import design.onekey.model.SysOrg;
import design.onekey.model.dto.SysOrgWithAuthDto;
import design.onekey.model.dto.SysOrgWithPtDto;

import java.util.List;

/**
* @Description: SysOrgMapper类
* @author
* @date 2020-06-05 04:03:14
* @version V1.0
 */
public interface SysOrgMapper extends BaseMapper<SysOrg> {

    /**
     * @Method searchDataLikeByAuthority
     * @Author zhangcheng
     * @Version  1.0
     * @Description 根据权限和字段分页查询
     * @Return
     * @Exception
     * @Date 2020-6-11 9:18
     */
    List<SysOrgWithPtDto> searchDataLikeByAuthority(SysOrgWithAuthDto model);
}
